%display-flex-center {
    display: flex;
    align-items: center;
}
%display-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
// -------------------- 审核状态图标颜色 ↓↓↓ --------------------
.aduit-status-solid-circle-color {
    color: var(--Colors-Use-Main-Primary);
}
.aduit-status-badge-check-color {
    color: var(--Colors-Use-Green-Primary);
}
.aduit-status-ban-color {
    color: var(--Colors-Use-Neutral-Disable);
}
.aduit-status-flag-color {
    color: var(--Colors-Use-Blue-Primary);
}
// -------------------- tooltip组件样式 ↓↓↓ --------------------
.plugins-tooltip {
    .ant-tooltip-inner {
        display: flex;
        padding: 8px 12px;
        border-radius: 4px;
        background: var(--Colors-Use-Neutral-Text-1-Title);
        border: 1px solid var(--Colors-Use-Neutral-Text-1-Title);
        color: var(--Colors-Use-Basic-Background);
        box-shadow: 0px 8px 16px 0px var(--Colors-Use-Basic-Shadow);
        // border-bottom-width: 0px;

        font-size: 12px;
        line-height: 16px;
        cursor: text;
    }
}
.plugins-tooltip.ant-tooltip-placement-top {
    padding-bottom: 4px;
    .ant-tooltip-arrow {
        bottom: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-topLeft {
    padding-bottom: 4px;
    .ant-tooltip-arrow {
        bottom: 1px;
        left: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-topRight {
    padding-bottom: 4px;
    .ant-tooltip-arrow {
        right: 1px;
        bottom: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-bottom {
    padding-top: 4px;
    .ant-tooltip-arrow {
        top: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-bottomLeft {
    padding-top: 4px;
    .ant-tooltip-arrow {
        top: 1px;
        left: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-bottomRight {
    padding-top: 4px;
    .ant-tooltip-arrow {
        right: 1px;
        top: 1px;
    }
}
.plugins-tooltip.ant-tooltip-placement-right {
    padding-left: 4px;
    .ant-tooltip-arrow {
        left: 1px;
        
    }
}
// -------------------- form组件样式 ↓↓↓ --------------------
.plugins-form {
    width: 100%;
    .ant-row.ant-form-item {
        gap: 2px;
        .ant-form-item-label {
            padding-bottom: 0;
        }
        .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
            display: none;
        }
    }
}
.plugins-item-required {
    margin: 0 4px;
    padding-top: 4px;
    color: var(--Colors-Use-Error-Primary);
    font-size: 14px;
    line-height: 14px;
}
// -------------------- radio组件样式 ↓↓↓ --------------------
.plugins-radio-wrapper {
    .ant-radio:hover .ant-radio-inner {
        border-color: var(--Colors-Use-Main-Border);
    }
    .ant-radio-checked .ant-radio-inner {
        border-color: var(--Colors-Use-Main-Border);
    }
    .ant-radio-checked::after {
        border-color: var(--Colors-Use-Main-Border);
    }
    .ant-radio-inner::after {
        background-color: var(--Colors-Use-Main-Border);
    }
    .ant-radio-input:focus + .ant-radio-inner {
        box-shadow: 0 0 0 3px var(--Colors-Use-Main-Focus);
    }
    .ant-radio.ant-radio-disabled .ant-radio-inner {
        background-color: var(--Colors-Use-Neutral-Bg);
        border-color: var(--Colors-Use-Neutral-Border);
    }
    .ant-radio.ant-radio-checked.ant-radio-disabled .ant-radio-inner {
        border-color: var(--Colors-Use-Neutral-Border);
        background-color: transparent;
    }
    .ant-radio.ant-radio-checked.ant-radio-disabled .ant-radio-inner:after {
        background-color: var(--Colors-Use-Neutral-Bg);
    }
}
// -------------------- anchor组件样式 ↓↓↓ --------------------
.plugins-anchor {
    &.ant-anchor-wrapper {
        margin-left: 0;
        padding-left: 0;
        overflow: hidden;
    }

    .ant-anchor {
        display: flex;
        .ant-anchor-link {
            padding: 0;
        }
        .ant-anchor-ink {
            display: none;
        }
    }
}

// -------------------- 列表上方的header右侧样式 --------------------
.divider-style {
    width: 1px;
    height: 16px;
    background-color: var(--Colors-Use-Neutral-Bg);
}

.extra-header-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;

    .divider-style {
        width: 1px;
        height: 16px;
        background-color: var(--Colors-Use-Neutral-Bg);
    }

    .btn-group-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}
// --------------------

// -------------------- 详情中列表item样式 --------------------

.plugin-details-opt-wrapper {
    .plugin-details-item-wrapper {
        width: 100%;
        height: 46px;
        padding-left: 6px;
        padding-right: 8px;
        display: flex;
        align-items: center;
        border-radius: 4px;
        border: 1px solid transparent;

        .plugin-details-item {
            flex: 1 0 0;
            overflow: hidden;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-top: 1px solid var(--Colors-Use-Neutral-Border);
            border-bottom: 1px solid transparent;
            .plugin-details-item-info {
                flex: 1 0 0;
                overflow: hidden;
                display: flex;
                align-items: center;
                gap: 8px;
                padding-left: 2px;
                &-text-style {
                    flex: 1 0 0;
                    overflow: hidden;
                    color: var(--Colors-Use-Neutral-Text-1-Title);
                    font-size: 12px;
                    line-height: 16px;
                }
            }
            .plugin-details-item-show {
                min-width: 80px;
                display: flex;
                justify-content: right;
                align-items: center;
                gap: 8px;
                &-icon-style {
                    svg {
                        width: 16px;
                        height: 16px;
                        color: var(--Colors-Use-Neutral-Text-3-Secondary);
                    }
                }
            }
        }
        .plugin-details-item-active {
            border-color: transparent;
        }
    }
    .plugin-details-item-wrapper-active {
        border-color: var(--Colors-Use-Main-Border);
        background: var(--Colors-Use-Main-Focus);
    }
    .plugin-details-item-wrapper-enableClick {
        cursor: pointer;
        &:hover {
            background-color: var(--Colors-Use-Neutral-Bg-Hover);
            .plugin-details-item {
                border-color: transparent;
            }
        }
    }
}
.plugin-details-opt-wrapper-enableClick:hover + .plugin-details-opt-wrapper-enableClick {
    .plugin-details-item {
        border-color: transparent;
    }
}
.plugin-details-opt-wrapper-enableClick:has(.plugin-details-item-wrapper-active)
    + .plugin-details-opt-wrapper-enableClick {
    .plugin-details-item {
        border-color: transparent;
    }
}
// 详情-插件列表单项-源码弹窗
.terminal-popover {
    width: 429px;
    padding-bottom: 4px;
    padding-top: 4px;

    .ant-popover-inner-content {
        height: 40vh;
        padding: 4px;
    }

    .ant-popover-inner {
        border-radius: 4px;
    }

    .ant-popover-arrow {
        left: 0;
    }
}
// --------------------

// -------------------- 详情-插件列表-过滤条件
.details-filter-extra-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    path {
        stroke-width: 1.5;
    }
    .loading-icon {
        width: 26px;
        text-align: center;
        color: var(--Colors-Use-Main-Primary);
        svg {
            width: 16px;
            height: 16px;
        }
    }
}

// --------------------

.icon-svg-16 {
    svg {
        width: 16px;
        height: 16px;
    }
}
